home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 6 / Amiga Format AFCD06 (Nov 1996, Issue 90).iso / screenplay / utility / game_patches_for_hd / marblemadness / contrib / wbstart2_1.readme < prev    next >
Text File  |  1996-06-10  |  1KB  |  32 lines

  1. Short:    Emulate program starting from WB (V2.1)
  2. Author:   stefanb@yello.ping.de (Stefan Becker)
  3. Uploader: stefanb@yello.ping.de (Stefan Becker)
  4. Version:  2.1
  5. Type:     util/libs
  6. Replaces: util/libs/WBStart.lha
  7. Requires: OS 3.0 (V39) or better
  8. Kurz:     Emuliere Programmstart von der WB (V2.1)
  9.  
  10. WBStart is a package  to  emulate  the  Workbenchs'  method  of  starting
  11. programs. Emulating this method seems to  be  easy  on  the  first  look,
  12. because you only have to load a program, create a process and then send a
  13. Workbench startup message to it.
  14.  
  15. But complications arise from this startup message. It  contains  pointers
  16. to memory and directory locks owned by your process and it  will  not  be
  17. returned until the newly created Workbench process exits. So your process
  18. can't quit until ALL Workbench processes which have been started by  your
  19. process are finished. If you don't wait the replied messages will go into
  20. nowhere land and the man from India will visit you.
  21.  
  22. WBStart solves this problem by using a handler process, which  loads  the
  23. program, creates the process, sends the message and then  waits  for  the
  24. reply. You just supply all  needed  information  like  program  name  and
  25. arguments in a library call. The handler copies this information so  your
  26. program can free its resources and exit.
  27.  
  28. Changes since WBStart 2.0:
  29.  
  30.    - Now handles file names correctly which  contain  a  path  part  that
  31.      points to a multiple assign.
  32.